package com.codeczx.mygeeknews;

/**
 * Created by codeczx on 2017/6/16.
 */

public class RxPresenter<T extends BaseView> implements BasePresenter<T> {

    private T mView;

    @Override
    public void attachView(T view) {
        this.mView = view;
    }

    @Override
    public void detachView() {
        if (mView != null) {
            mView = null;
        }
    }
}
